package com.liaogui.设计模式.观察者模式;

/**
 * @author liaogui
 * @date 2025/3/28 10:43
 */
public class ConcreteSubject extends Subject{

    @Override
    public void doSomething() {
        System.out.println("被观察者事件发生");
        this.notifyObservers();
    }
}
